package com.sense.sensedialprehandle.enums;

public enum ResultStatusCode {
    Success("000", "成功！"),
    Error("400", "程序异常！"),
    RequestMethodNotSupported("401", "请求方法不对！"),

    ;

    private String code;
    private String msg;

    private ResultStatusCode(String code,String msg){
        this.code=code;
        this.msg=msg;
    }

    public String getMsg(){
        return this.msg;
    }
    public String getCode(){
        return this.code;
    }
}
